/*
 * @Author: 张家亮 1690608011@qq.com
 * @Date: 2022-08-18 23:15:47
 * @LastEditors: 张家亮 1690608011@qq.com
 * @LastEditTime: 2022-08-29 10:22:48
 * @FilePath: \vue-store-server\app\routers\index.js
 * @Description: 汇总模块子路由
 * 
 * Copyright (c) 2022 by 张家亮 1690608011@qq.com, All Rights Reserved. 
 */
const Router = require('koa-router');

let Routers = new Router();

const userRouter = require('./router/userRouter');
const resourcesRouter = require('./router/resourcesRouter');
const productRouter = require('./router/productRouter');
const shoppingCartRouter = require('./router/shoppingCartRouter');
const orderRouter = require('./router/orderRouter');
const collectRouter = require('./router/collectRouter');
const addrInfoRouter = require('./router/addrInfoRouter');

Routers.use(userRouter.routes());
Routers.use(resourcesRouter.routes());
Routers.use(productRouter.routes());
Routers.use(shoppingCartRouter.routes());
Routers.use(orderRouter.routes());
Routers.use(collectRouter.routes());
Routers.use(addrInfoRouter.routes());

module.exports = Routers;